package cn.smile.bean.form.notebook;

import cn.smile.bean.entity.notebook.Notebook;
import cn.smile.commons.domain.BaseQueryEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class QueryNotebookForm extends BaseQueryEntity<Notebook> {
    @Serial
    private static final long serialVersionUID = 5740277288412208991L;

    /**
     * 查询标记(true-仅查询自己写的, false-仅查询被共享的)
     */
    private Boolean myFlag = Boolean.TRUE;

    /**
     * 使用用户ID查询
     */
    private Boolean useUser = Boolean.TRUE;

    /**
     * 微信发布状态(0-未发布, 1-发布中, 2-发布失败, 3-发布成功)
     *
     * @see cn.smile.commons.enums.wechat.WeChatPublishStatusEnum
     */
    private List<Integer> publishStatusList;
}
